﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Web.Mvc;
using System.Web.Routing;

namespace CMS
{
    public abstract class WinterRegistry : IRegistry
    {
        #region Private Properties
        private RouteManager routeManager;
        #endregion

        public RouteManager RouteManager
        {
            get { return routeManager; }
        }

        public WinterRegistry()
        {
            //create some instance variables 
            routeManager = new RouteManager(RouteTable.Routes);
        }
        public void Initialize()
        {
            routeManager.RegisterRoutes();
        }
    }
}
